package com.example.demo.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author king
 * @since 2024-05-23
 */
@Data
@TableName("qwa")
@ApiModel(value = "Qwa对象", description = "")
public class Qwa implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("问答对主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
      private String id;

    @ApiModelProperty("问题")
    private String question;

    @ApiModelProperty("答案")
    private String answer;

    @ApiModelProperty("同对话记录id进行关联")
    private String dialectId;

    @ApiModelProperty("赞的数量")
    private Integer zan;

    @ApiModelProperty("踩的数量")
    private Integer cai;

}
